<script setup lang="ts">
interface rollPorps {
  height: number | string
}
const tableData = [
  {
    name: '王小二',
    city: '北京',
    businessVolume: '100w'
  },
  {
    name: '赵天生',
    city: '上海',
    businessVolume: '99.6w'
  },
  {
    name: '李泽',
    city: '广州',
    businessVolume: '97.1w'
  },
  {
    name: '冯安雅',
    city: '北京',
    businessVolume: '90.1w'
  },
  {
    name: '周亚琳',
    city: '杭州',
    businessVolume: '89.5w'
  },
  {
    name: '李玉',
    city: '北京',
    businessVolume: '80w'
  },
  {
    name: '林培伦',
    city: '上海',
    businessVolume: '79.6w'
  },
  {
    name: '沈婉莹',
    city: '广州',
    businessVolume: '75.1w'
  }
]
defineProps<rollPorps>()
</script>
<template>
<el-table border :data="tableData" :height="height" style="width: 100%">
  <el-table-column type="index" width="50" />
  <el-table-column prop="name" label="姓名" />
  <el-table-column prop="city" label="城市" />
  <el-table-column prop="businessVolume" label="成交额" />
</el-table>
</template>
<style lang="scss"></style>
